﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrainTicketBookingSystem
{
    internal class TrainSequence
    {
        public int TrainSequenceId { get; set; }
        public string TrainNum { get; set; }
        public int TrainId { get; set; }
        public int StartStation { get; set; }
        public int EndStation { get; set; }
        public DateTime LaunchTime { get; set; }
        public DateTime ArriveTime { get; set; }
        public TimeSpan TravelTime { get; set; }

        public TrainSequence()
        {
        }

        public TrainSequence(int trainSequenceId, string trainNum, int trainId, int startStation, int endStation, DateTime launchTime, DateTime arriveTime, TimeSpan travelTime)
        {
            TrainSequenceId = trainSequenceId;
            TrainNum = trainNum;
            TrainId = trainId;
            StartStation = startStation;
            EndStation = endStation;
            LaunchTime = launchTime;
            ArriveTime = arriveTime;
            TravelTime = travelTime;
        }
    }
}
